package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 档案与栏目表
 * */
@Entity
@Table(name="archivescolumn")
public class Archivescolumn implements Serializable {
	private static final long serialVersionUID = 1L;
	private String coltypeid;//栏目id
	private String archives;//档案id
	private String createUser;//创建用户
	private Date createTime;//创建时间
	private Integer active;//0表示正常，1表示删除
	private Integer mancol;//0表示主栏目，1表示副栏目
	private String id;
	@Column(name = "mancol")
	public Integer getMancol() {
		return mancol;
	}
	public void setMancol(Integer mancol) {
		this.mancol = mancol;
	}
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "createUser")
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	@Column(name = "createTime")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "active")
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
	@Column(name = "coltypeid")
	public String getColtypeid() {
		return coltypeid;
	}
	public void setColtypeid(String coltypeid) {
		this.coltypeid = coltypeid;
	}
	@Column(name = "archives")
	public String getArchives() {
		return archives;
	}
	public void setArchives(String archives) {
		this.archives = archives;
	}
}
